package com.qst.mapper;

import com.qst.entity.AssessmentType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AssessmentMapper {

    List<AssessmentType> findAll();

    AssessmentType findById(int id);

    void delete(int id);

    AssessmentType findByTitle(String title);

    void insert(AssessmentType assessment);

    void update(AssessmentType assessment);
}
